package com.hm.car.api.bean;

import java.util.List;

import lombok.Data;

/**
 * @author shishun.wang
 * @date 下午11:45:38 2016年12月13日
 * @version 1.0
 * @describe
 */
@Data
public class OfferCallBackVo {

	private String taskId;

	private String prvId;

	private String prvName;

	private String code;

	private String msg;

	private String channelId;

	private String channelUserId;

	private String taskState;

	private String taskStateDescription;

	private CarInfoVo carInfo;

	private CarOwnerVo carOwner;

	private InsureInfoVo insureInfo;

	private String msgType;

	private OfferImagesVo images;

	private OfferDeliveryVo delivery;

	private String quoteValidTime;

	private String payValidTime;

	@Data
	public static class OfferDeliveryVo {

		private String deliveryType;

		private String name;

		private String mobile;

		private String phone;

		private String province;

		private String city;

		private String area;

		private String address;

		private String expressCompanyName;

		private String expressNo;

		private String expressNumber;

	}

	@Data
	public static class OfferImagesVo {

		/**
		 * 影像类型
		 */
		private String imageType;

		private String imageName;

		private String upload;
	}

	@Data
	public static class InsureInfoVo {

		private EfcInsureInfoVo efcInsureInfo;

		private TaxInsureInfoVo taxInsureInfo;

		private BizInsureInfoVo bizInsureInfo;

		private String totalPremium;

		@Data
		public static class BizInsureInfoVo {

			private String startDate;

			private String endDate;

			private String premium;

			private String discountRate;

			private String nfcPremium;
			
			private String policyNo;

			private List<RiskKindsVo> riskKinds;

			@Data
			public static class RiskKindsVo {

				private String riskCode;

				private String riskName;

				private String amount;

				private String notDeductible;

				private String premium;

				private String ncfPremium;
			}
		}

		@Data
		public static class TaxInsureInfoVo {

			private String lateFee;

			private String taxFee;
		}

		@Data
		public static class EfcInsureInfoVo {

			private String startDate;

			private String endDate;

			private String amount;

			private String premium;

			private String policyNo;
			
			private String discountRate;
			
		}
	}

	@Data
	public static class CarOwnerVo {

		private String idcardNo;

		private String idcardType;

		private String name;

		private String gender;

		private String mobile;
	}

	@Data
	public static class CarInfoVo {

		private String vehicleName;

		private String carLicenseNo;

		private String carProperty;

		private String vinCode;

		private String engineNo;

		private String registDate;

		private String isTransferCar;

		private String price;

		private String vehicleId;

		private String isNew;

		private String property;
	}
}
